package me.monster.smarttraffic.ui.car;

import java.util.List;
import java.util.Map;

import me.monster.smarttraffic.base.BaseView;
import me.monster.smarttraffic.base.IPresenter;

/**
 * @description
 * @author: Created jiangjiwei in 2020-02-12 10:33
 */
public interface CarContract {
    interface View extends BaseView {
        void bindCars(List<Map<String, String>> carNos);

        void showCarInfo(Map<String, String> queryInfo);

        void chargeResult(boolean result);
    }

    interface Presenter extends IPresenter<View> {
        void listCar();

        void query(int carInfoPosition);

        void charge(int carInfoPosition, String input);
    }
}
